package Gamedemo;
import java.util.ArrayList;
import java.util.Collection;

public class Update {
    public static void main(String[] args) {
        player p = new player("白风",1, 1, 100, 100, 1, 100, 100, 100);//创建玩家
        Team team = new Team(p, 4);
        team.add(new player("苍蓝星",2, 1, 100, 100, 2, 100, 100, 100));
        team.remove(2);
        team.remove(9);
        team.add(new player("苍蓝星",2, 1, 100, 100, 2, 100, 100, 100));
        team.add(new player("笛子",3,1,100,100,3,100,100,100));
        team.add(new player("虫棍",4,1,100,100,4,100,100,100));
        team.add(new player("虫棍",4,1,100,100,4,100,100,100));
        team.add(new player("虫棍？？",5,1,100,100,4,100,100,100));
        System.out.println("队伍总攻击力"+team.Battlevalue());

        team.att();

    }
}
